package cn.zn.job.mapper;

import cn.zn.job.entity.SysJob;
import cn.zn.job.vo.SysJobPageVo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * Mapper 接口
 * </p>
 *
 * @author zn-admin
 * @since 2021-01-29
 */
public interface SysJobMapper extends BaseMapper<SysJob> {

    List<SysJob> selectJobList(@Param("vo") SysJobPageVo vo);

    IPage<SysJob> selectJobList(Page<SysJob> page, @Param("vo") SysJobPageVo vo);

}
